package algorithms;

/**
 * @功能
 * @创建时间 2020/11/8
 */
public class TriFunctionTest {
    static int f(int i, long l, double d) { return 99; }
    public static void main(String[] args) {
        TriFunction<Integer, Long, Double, Integer> tf =
                TriFunctionTest::f;
        System.out.println(tf.apply(1,(long)2,3.0));
        tf = (i, l, d) -> (int)(i+l-d);
        System.out.println(tf.apply(1,(long)2,3.0));


    }
}
